package com.bachongLightNovel.works;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

/**
 * 作品微服务启动类
 * @author vermouth
 */

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(value = "com.bachongLightNovel")
@EnableFeignClients(value = "com.bachongLightNovel")
public class WorksApplication {

    public static void main(String[] args) {
        SpringApplication.run(WorksApplication.class,args);
    }
}
